//导入vue
import Vue from 'vue'
//导入App.vue
import App from './App.vue'
//导入路由模块
import VueRouter from 'vue-router'
//配置vue实力可以使用vue-router
Vue.use(VueRouter)

import router from './assets/js/router.js'

// 引入mint-ui对应的js
import Mint from 'mint-ui';
Vue.use(Mint);
// 引入mint-ui对应的css
import '../node_modules/mint-ui/lib/style.css'

//导入vuex 公共对象store
import store from './assets/js/data.js'

//引入axios
import axios from 'axios'
Vue.prototype.$http = axios

//实例化对象
new Vue({
  //实例化对应的app是index.html中的id
  el: '#app',
  //把index.html和App.vue联系起来
  render: h => h(App),
  //挂载路由
  router:router,
  store:store,
})
